package com.panda.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: panda
 * @Date: 2022-05-18 15:14
 * @Description: 文章列表接口返回VO
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("文章列表")
public class ArticleListVo {

    @ApiModelProperty("文章ID")
    private Long id;
    //标题
    @ApiModelProperty("文章标题")
    private String title;
    //所属分类名
    @ApiModelProperty("文章分类名")
    private String categoryName;
    //缩略图
    @ApiModelProperty("文章缩略图")
    private String thumbnail;
    //访问量
    @ApiModelProperty("文章访问量")
    private Long views;
    @ApiModelProperty("文章创建时间")
    private Date createTime;
    @ApiModelProperty("文章赞")
    private Integer likes;


}